Test Setup Failed
Push — master ( 8ee19e...25278d )
by recca
05:07 queued 46s
created

help.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 2
b 0
f 0
1
'use strict';
2
3
import Command from './command';
4
5
export default class Help extends Command {
6
    match(name) {
7
        return ['list', 'help'].includes(name);
8
    }
9
10
    call(cmd) {
0 ignored issues
show
Unused Code introduced by
The parameter cmd is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
11
        this.api.echo(this.api.options.helpInfo);
12
        this.api.serverInfo();
13
    }
14
}
15